﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using Resto.CostControl.Core.Models;

namespace Resto.CostControl.Core
{
    /// <summary>
    /// 采购价格
    /// </summary>
    public class MaterialPrice : BaseModel
    {
        public string Id { get; set; }

        [Display(Name = "品名")]
        public string MaterialId { get; set; }

        [Display(Name = "品名")]
        public string MaterialName { get; set; }

        [Display(Name = "供应商")]
        public string SupplierId { get; set; }

        [Display(Name = "价格")]
        public decimal Price { get; set; }

        [Display(Name = "上期价格")]
        public decimal PrePrice { get; set; }

        [Display(Name = "开始时间")]
        public DateTime StartDate { get; set; }

        [Display(Name = "结束时间")]
        public DateTime EndDate { get; set; }

        [Display(Name = "是否有效")]
        public bool IsValid { get; set; }

        [Display(Name = "备注")]
        public string Remark { get; set; }
    }
}
